package com.gitee.wsl.compose.chart.sample

import androidx.compose.runtime.Composable
import androidx.compose.ui.unit.dp
import com.gitee.wsl.compose.chart.KoalaPlotTheme


/**
 * Sets the KoalaPlotTheme with values used for Thumbnail chart views.
 */
@Composable
fun ThumbnailTheme(content: @Composable () -> Unit) {
    KoalaPlotTheme(
        axisThemeStyle = KoalaPlotTheme.axisThemeStyle.copy(
            majorTickSize = 0.dp,
            minorTickSize = 0.dp,
            majorGridlineStyle = null,
            minorGridlineStyle = null
        ),
        content = content
    )
}
